Issues with setting up a lan server

I set up a server on a second laptop and tried to connect to it on the same wifi, why is it not working?

I set up a server on a second laptop and tried to connect to it on the same wifi, why is it not working?